package com.godz.getter.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.godz.getter.pojo.Goods;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper  //不用再写Xml文件,那个太蛋疼了
@Repository
public interface GoodsMapper extends BaseMapper<Goods> {
    //查询全部的物品 (不用Mybatis-plus)
    List<Goods> queryAllGoods();
}
